This may discourage investments that amounted to nearly 3.5 billion dollars in 2017 in the largest African economy.